import VueRouter from 'vue-router'
import sy from './main/sy.vue'
import xw from './main/xw.vue'
import lg from './Login.vue'

var vr = new VueRouter({
    routes:[
        {path:"/",redirect:lg},
        {path:"/lg",component:lg,children:[
            {path:"sy",component:sy},
            {path:"xw",component:xw},
        ]},
    ]
})
export default vr;